﻿ALTER TABLE [dbo].[InstanceScalarProperties] ADD
CONSTRAINT [FK_InstanceScalarProperties_TemplateInstanceComponents] FOREIGN KEY ([ComponentId]) REFERENCES [dbo].[TemplateInstanceComponents] ([ComponentId]) ON DELETE CASCADE


